.class public Lcom/estrongs/android/pop/app/scene/show/dialog/style/g;
.super Lcom/estrongs/android/pop/app/scene/show/dialog/style/i;
.source "SceneDialogStyle03.java"


# instance fields
.field private c:Landroid/widget/ImageView;

.field private d:Landroid/widget/TextView;

.field private e:Landroid/widget/TextView;

.field private f:Landroid/widget/Button;

.field private g:Landroid/widget/ImageView;


# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneDialog;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/pop/app/scene/show/dialog/style/i;-><init>(Landroid/content/Context;Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneDialog;)V

    return-void
.end method


# virtual methods
.method public a()I
    .locals 1

    const v0, 0x7f0c02f8

    return v0
.end method

.method public a(Landroid/view/View;Lcom/estrongs/android/pop/app/scene/show/dialog/style/f$a;)V
    .locals 2

    const v0, 0x7f090111

    .line 1
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/style/g;->c:Landroid/widget/ImageView;

    const v0, 0x7f090110

    .line 2
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/style/g;->g:Landroid/widget/ImageView;

    const v0, 0x7f090116

    .line 3
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/style/g;->d:Landroid/widget/TextView;

    const v0, 0x7f090115

    .line 4
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/style/g;->e:Landroid/widget/TextView;

    const v0, 0x7f09010f

    .line 5
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/Button;

    iput-object p1, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/style/g;->f:Landroid/widget/Button;

    .line 6
    iget-object p1, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/style/g;->d:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/style/i;->b:Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneDialog;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowScene;->title:Ljava/lang/String;

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 7
    iget-object p1, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/style/g;->e:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/style/i;->b:Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneDialog;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowScene;->msg:Ljava/lang/String;

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 8
    iget-object p1, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/style/g;->f:Landroid/widget/Button;

    iget-object v0, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/style/i;->b:Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneDialog;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowScene;->btn:Ljava/lang/String;

    invoke-virtual {p1, v0}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    .line 9
    iget-object p1, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/style/g;->g:Landroid/widget/ImageView;

    new-instance v0, Lcom/estrongs/android/pop/app/scene/show/dialog/style/g$a;

    invoke-direct {v0, p0, p2}, Lcom/estrongs/android/pop/app/scene/show/dialog/style/g$a;-><init>(Lcom/estrongs/android/pop/app/scene/show/dialog/style/g;Lcom/estrongs/android/pop/app/scene/show/dialog/style/f$a;)V

    invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 10
    iget-object p1, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/style/i;->b:Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneDialog;

    iget p1, p1, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowScene;->iconId:I

    if-lez p1, :cond_0

    .line 11
    iget-object v0, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/style/g;->c:Landroid/widget/ImageView;

    invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 12
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/style/i;->b:Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneDialog;

    iget-object p1, p1, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowScene;->icon:Ljava/lang/String;

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p1

    if-nez p1, :cond_1

    .line 13
    iget-object p1, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/style/g;->c:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/style/i;->b:Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneDialog;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowScene;->icon:Ljava/lang/String;

    const v1, 0x7f0805e5

    invoke-static {p1, v0, v1}, Les/qg;->b(Landroid/widget/ImageView;Ljava/lang/String;I)V

    .line 14
    :cond_1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/style/g;->f:Landroid/widget/Button;

    new-instance v0, Lcom/estrongs/android/pop/app/scene/show/dialog/style/g$b;

    invoke-direct {v0, p0, p2}, Lcom/estrongs/android/pop/app/scene/show/dialog/style/g$b;-><init>(Lcom/estrongs/android/pop/app/scene/show/dialog/style/g;Lcom/estrongs/android/pop/app/scene/show/dialog/style/f$a;)V

    invoke-virtual {p1, v0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method public isEnabled()Z
    .locals 2

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/pop/app/scene/show/dialog/style/i;->isEnabled()Z

    move-result v0

    const/4 v1, 0x0

    if-nez v0, :cond_0

    return v1

    .line 2
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/style/i;->b:Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneDialog;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowScene;->title:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/style/i;->b:Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneDialog;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowScene;->msg:Ljava/lang/String;

    .line 3
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/style/i;->b:Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneDialog;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowScene;->btn:Ljava/lang/String;

    .line 4
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_1

    goto :goto_0

    :cond_1
    const/4 v0, 0x1

    return v0

    :cond_2
    :goto_0
    const-string v0, "========title\u3001msg\u3001btn\u4e3a\u7a7a"

    .line 5
    invoke-static {v0}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;)V

    return v1
.end method
